package com.wangyb.wework.bo;

import com.wangyb.wework.enums.ContactAddwayStateEnum;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

/**
 * @Author: wangyb
 * @Date: 2021/8/4 8:18 下午
 */
@Data
@RequiredArgsConstructor
public class ContactAddwayState {
	@NonNull
	private ContactAddwayStateEnum type;
	@NonNull
	private Long id;

	@Override
	public String toString() {
		return "{" +
			"'type'=" + type.getType() +
			", 'id'='" + id + '\'' +
			", 'desc'='" + type.getLabel() +
			'}';
	}
}
